package org.bjou

//分校记录课程信息
class BranchCourse {
    
   
   static belongsTo = [branch:Branch,course:Course]  
    
    Integer status
    //姓名
    String teacherName
    //职称
    String teacherTitle
    //电话
    String teacherTel
    //轮次
    String round
    
    //人数
    String teacherQty
    
    //当前学期
    String currentTerm
    
    Date dateCreated
    Date lastUpdated
    
    static constraints = {
        teacherName(nullable: true, blank: true)
        teacherTitle(nullable: true, blank: true)
        teacherTel(nullable: true, blank: true)
        teacherQty(nullable: true, blank: true)
        currentTerm(nullable: true, blank: true)
        status(nullable: true, blank: true)
    }
}
